package com.skit.main.bean

import android.graphics.Color
import androidx.recyclerview.widget.RecyclerView

data class RecyclerTypeBean(
    val name: String,
    val orientation: Int = RecyclerView.VERTICAL,
    var layoutManager: LayoutManager,
    val data: List<Any>,
    val type: Type,
    val click: (() -> Unit)? = null
) {
    var backGroundColor: Int = Color.WHITE
    var more: String? = null
    var scroll = true

    enum class Type {
        ACTIVITY_HOLDER, TEXT_ICON_HOLDER
    }

    enum class LayoutManager {
        LINEAR_LAYOUT_MANAGER, GRIDLAYOUT_MANAGER
    }


}